import fetch from 'utils/fetch'

export async function query (param) {
  return fetch.post('/role/list', param)
}

export async function add (param) {
  return fetch.post('/role/add', param)
}

export async function update (param) {
  return fetch.post('/role/update', param)
}

export async function remove (param) {
  return fetch.post('/role/delete', param)
}

export async function config (param) {
  return fetch.post('/role/config', param)
}
